<!DOCTYPE html>
<html lang="en">

<head>

  <!-- Basic Page Needs
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <meta charset="utf-8">
  <title>Report</title>
  <meta name="description" content="">
  <meta name="author" content="">

  <!-- Mobile Specific Metas
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- FONT
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">

  <!-- CSS
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha256-l85OmPOjvil/SOvVt3HnSSjzF1TUMyT9eV0c2BzEGzU=" crossorigin="anonymous" />
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" integrity="sha256-2YQRJMXD7pIAPHiXr0s+vlRWA7GYJEK0ARns7k2sbHY=" crossorigin="anonymous" />

  <!-- Favicon
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <link rel="icon" type="image/png" href="images/favicon.png">

</head>

<body>

  <!-- Primary Page Layout
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <div style="position:sticky;">
    <div class="row">
      <div class="one-third column">
        Huobi<br />
        ETH <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        XRP <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        BCHSV <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        ETC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
      </div>
      <div class="one-third column">
        Okex<br />
        BTC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        LTC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        BCHABC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        EOS <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
      </div>
      <div class="one-third column">
        USDT<br />
        BTC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        BTC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        BTC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
        BTC <a href=''>quarter</a> <a href=''>next-week</a> <a href=''>week</a><br />
      </div>
    </div>

    <hr />
  </div>
  <div class="container">
    {% for r in reports %}
    <h3 style="margin-top: 25%">{{r.exchange}} - {{r.symbol}}</h3>
    <div class=" row">
      <div class="one-half column">
        <h4>Original</h4>
        <img src='{{r.original_plot}}' style='float:right;width:45vw;'/>
      </div>
      <div class="one-half column">
        <h4>Proposal</h4>
        <img src='{{r.proposed_plot}}' style='float:left;width:45vw;'/>
      </div>
    </div>
    <div class="row u-full-width">
      <table class="u-full-width">
        <thead>
        <td></td>
        <td><a href='{{r.original_config_link}}'>Original</a></td>
        <td><a href='{{r.proposal_config_link}}'>Proposal</a></td>
        </thead>
        <tbody>
          <tr style="background-color:#ffeeba;">
            <td>score</td>
            <td>{{r.original_score}}</td>
            <td>{{r.best_score}}</td>
          </tr>
        
          {% for (k,v) in r.params.items() %}
          <tr>
            <td>{{k}}</td>
            <td>{{v.original}}</td>
            <td>{{v.proposed}}</td>
          </tr>
          {% endfor %}
        </tbody>
      </table>
    </div>

    <div class="row u-full-width">
      <iframe src='{{r.slice_plot}}' style='height:500px; width:100%;'></iframe>
      <iframe src='{{r.parallel_plot}}' style='height:500px; width:100%;'></iframe>
      <iframe src='{{r.param_importance_plot}}' style='height:500px; width:100%;'></iframe>
      </div>
      {% endfor %}
</body>

</html>
